package com.cskt.itripsearch.vo;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;


/**
 * @author mo
 * @Description: 搜索酒店展示实体类
 * @date 2020-09-26 15:16
 */
@Data
@Document(indexName = "hotel", type = "_doc")
public class HotelVO {

    private static final long serialVersionUID = 1742186782366920205L;
    @Field("id")
    private Long id;
    @Field(name = "hotelName")
    private String hotelName;
    @Field(name = "cityId")
    private Long cityId;
    @Field(name = "address")
    private String address;
    @Field(name = "hotelLevel")
    private Integer hotelLevel;
    @Field(name = "redundantCityName")
    private String redundantCityName;
    @Field(name = "redundantProvinceName")
    private String redundantProvinceName;
    @Field(name = "redundantCountryName")
    private String redundantCountryName;
    @Field(name = "details")
    private String details;
    @Field(value = "facilities")
    private String facilities;
    @Field(value = "hotelPolicy")
    private String hotelPolicy;
    @Field("maxPrice")
    private Double maxPrice;
    @Field("minPrice")
    private Double minPrice;
    @Field("featureId")
    private String featureId;
    @Field("tradingAreaNames")
    private String tradingAreaNames;
    @Field("featureNames")
    private String featureNames;
    @Field("isOkCount")
    private Integer isOkCount;
    @Field("commentCount")
    private Integer commentCount;
    @Field("avgScore")
    private Double avgScore;
    @Field("imgUrl")
    private String imgUrl;

}           